﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="SearchForm.ascx.cs" Inherits="System.Web.Mvc.ViewUserControl" %>
<%@ Import Namespace="ETestIT.Web.Controllers"%>

<style type="text/css">
		label, input { display:block; }
		input.text { margin-bottom:12px; width:95%; padding: .4em; }
		fieldset { padding:0; border:0; margin-top:25px; }
</style>

<div class='searchForm' title='Candidate search criteria' style="display: none">
    <% using (Html.BeginForm<CandidatesController>(x => x.Search(), FormMethod.Post, new { id = "searchFormCriteria" }))
       { %>
            <fildset>
		        <label for="firstName">First Name</label>
		        <input type="text" name="firstName" id="firstName" class="text ui-widget-content ui-corner-all" />
                
                <label for="surename">Surename</label>
		        <input type="text" name="surename" id="surename" class="text ui-widget-content ui-corner-all" />

                <label for="email">eMail</label>
		        <input type="text" name="email" id="email" class="text ui-widget-content ui-corner-all" />
                
                <label for="phone">Phone</label>
		        <input type="text" name="phone" id="phone" class="text ui-widget-content ui-corner-all" />
		    </fildset>
       <% }%>
</div>